home *** CD-ROM | disk | FTP | other *** search
- TITLE "PCRelay Mail run for Wildcat!"
- ;
- ; To use this script, make sure your defined file download protocol is either
- ; Robocomm's internal Zmodem or an external Zmodem batch call.
- ;
- ; You need to replace all occurences of text between angle brackets <> with
- ; information specific to your setup.
- ;
-
- PARAMETER 1 "Enter the PCRelay door #"
- PARAMETER 2 "Enter the door password (optional)"
- PARAMETER 3 "Enter the path\name of the OUT file"
- PARAMETER 4 "Enter the desired location of IN.RLY"
-
- WHEN "-PAUSE-" SEND "|"
- WHEN "CONTINUE" SEND "|"
- WHEN "FILE MENU:" SEND "Q|"
- WHEN "MESSAGE MENU:" SEND "Q|"
- WHEN "MAIN MENU:" SEND "D|"
-
- WAITFOR "ENTER DOOR NUMBER"
-
- ; Send the door number
- SEND "%P1%|"
-
- ; Send the password if one was eneterd.
- IF NOT EMPTY "%P2%" SEND "%P2%|"
-
- CLEAR WATCHES
-
- ; Watch for part of the Zmodem header
- WAITFOR "*"
-
- ; Set the timeout value on the next line to however many seconds you think
- ; it might take for the BBS to start sending your packet:
- TIMEOUT 360
-
- ; Send the packet via internal Zmodem
- UPLOAD "%3" USING "ZMODEM"
-
- SEND "|"
-
- ; Wait for the door to start sending the messages
- WAITFOR "*"
-
- ; Receive your in.rly
- DOWNLOAD "%4" USING "ZMODEM"
-
- WHEN "-PAUSE-" SEND "|"
- WHEN "CONTINUE" SEND "|"
- WHEN "DOOR NUMBER" SEND "|"
-
- WAITFOR "MAIN MENU"
-
- EXIT 0
-